package com.hrms.doctor.service;

import com.hrms.doctor.domain.Message;
import com.hrms.doctor.domain.vo.MessageVo;
import io.swagger.models.auth.In;

import java.time.LocalDateTime;
import java.util.List;

public interface MessageService {
    Integer insertDoctorMessage(Message message);
    List<Message> selectMessage(Long doctorId,Long patientId,int opt);
    Integer delete(Long doctorId, Long patientId, LocalDateTime createTime);
    void update(Message message);
    void updatePatient(Message message);
    Integer countPatient();
    Integer countDoctor();

    List<MessageVo> getMessage(Long doctorId, Long patientId);

    Integer insertPatientMessage(Message message);
}
